<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<script>
    function fan() {
        location.href="/list"
    }
</script>
<body>
<form method="post" action="/add">
<table border="1">
    <tr>
        <th><h2>添加智能设备信息</h2></th>
    </tr>
    <tr>
        <th>设备编号:<input name="deviceNo" type="text"></th>
    </tr>
    <tr>
        <th>设备名称:<input name="deviceName" type="text"></th>
    </tr>

    <tr>
        <th>维护日期:<input name="maintainDate" type="text"></th>
    </tr>

    <tr>
        <th>
            <input type="submit" value="提交">
            <input type="button" value="返回" onclick="fan()">
        </th>
    </tr>
</table>
</form>
</body>
</html>
